STAT

Syntax: STAT [#channel,] [device]     
    or: STAT \file [,device]
Location: Toolkit II, THOR XVI

This command prints the name of a medium inserted into the given device and the available sectors to the given channel (default #1), or file. The device must be a directory device, such as FLP1_.  If no device is stated, the default data device is used.

Example:
STAT
STAT ram1_
STAT \ram5_TMP,mdv1_

CROSS-REFERENCE:
DLIST shows the default devices, DATAD$ holds the default data device.
Change default devices with DATA_USE, PROG_USE and SPL_USE.
DIR and WSTAT provide other information about directory devices.
